package com.feeyin.radar.crm.service;

import com.feeyin.radar.commons.Page;
import com.feeyin.radar.crm.model.QueryCustomer;
import com.feeyin.radar.crm.model.SaleRecord;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;

public abstract interface SaleRecordService
{
  public abstract List getPageDeptSaleRecordCustomers(String paramString, Integer paramInteger, Page paramPage, QueryCustomer paramQueryCustomer);

  public abstract Integer getPageDeptSaleRecordCustomersCount(String paramString, Integer paramInteger, QueryCustomer paramQueryCustomer);

  public abstract List getPageMySaleRecordCustomers(String paramString, Integer paramInteger, Page paramPage, QueryCustomer paramQueryCustomer);

  public abstract Integer getPageMySaleRecordCustomersCount(String paramString, Integer paramInteger, QueryCustomer paramQueryCustomer);

  public abstract List getSaleRecordsByCustomerId(Integer paramInteger, int paramInt, String paramString);

  public abstract SaleRecord getSaleRecordCustomerInfoByCustomerId(Integer paramInteger);

  public abstract SaleRecord getSaleRecordByCustomerIdAndSaleRecordId(String paramString, Integer paramInteger1, Integer paramInteger2);

  public abstract List getCloseSaleRcordsByCustomerId(Integer paramInteger);

  public abstract boolean insertSaleRecord(SaleRecord paramSaleRecord, String paramString, MultipartFile paramMultipartFile)
    throws Exception;

  public abstract boolean insertSaleRecordHangup(SaleRecord paramSaleRecord, String paramString, MultipartFile paramMultipartFile)
    throws Exception;

  public abstract boolean insertSaleRecordCare(SaleRecord paramSaleRecord, String paramString, MultipartFile paramMultipartFile)
    throws Exception;

  public abstract boolean insertSaleRecordClose(SaleRecord paramSaleRecord, String paramString, MultipartFile paramMultipartFile)
    throws Exception;

  public abstract boolean updateSaleRecord(SaleRecord paramSaleRecord, String paramString, MultipartFile paramMultipartFile)
    throws Exception;

  public abstract boolean isFileExists(String paramString1, String paramString2, Integer paramInteger1, Integer paramInteger2, String paramString3);

  public abstract String getStoredPath(String paramString, Integer paramInteger1, Integer paramInteger2);

  public abstract String getStoredRelativePath(Integer paramInteger1, Integer paramInteger2);

  public abstract boolean deleteAdded(String paramString, Integer paramInteger);

  public abstract Integer getCurrentDateRecordCount(Integer paramInteger);
}